POV-Ray : Newsgroups : povray.binaries.images : 3.7 beta 12a and +b2 option : 3.7 beta 12a and +b2 option Server Time
7 Aug 2024 11:22:00 EDT (-0400)
  3.7 beta 12a and +b2 option  
From: Przemek Loesch
Date: 3 Apr 2006 08:10:01
Message: <web.44311081c37f5c7db0aac12c0@news.povray.org>
There are some artifact when using bounding method +b2 with the current beta
12a version. Also it seems that fog gives quite different result in the
scene. Maybe it is intentional redesign of this feature, I don't know.

// the definition of fog in the scene
fog {
    fog_type   2
    distance   50000
    color      rgbt <0.8,0.9,1.0,0.0>
    fog_offset 300
    fog_alt    900
}

"Square" artifacts appear in the shadows of the trees. They are created with
MeshTree macro by Paul T. Dawson.

// the definition of meshtree objects
#include "colors.inc"
  #include "meshcone.inc"
  #include "meshtreea.inc"
  #declare drzewo = MeshTree (

    8,    // Number_Of_Large_Branches
    8,    // Number_Of_Medium_Branches
    8,    // Number_Of_Small_Branches
    20,   // Number_Of_Leaves

    20,   // Branch_Minimum_Angle
    140,  // Branch_Maximum_Angle

    10,   // Tree_Trunk_Size
    4,    // Large_Branch_Size_Min
    5,    // Large_Branch_Size_Max
    2,    // Medium_Branch_Size_Min
    3,    // Medium_Branch_Size_Max
    0.5,  // Small_Branch_Size_Min
    1,    // Small_Branch_Size_Max

    texture { pigment { DMFWood5 } },    // T_Tree_1
    texture { pigment { Jade } },        // T_Tree_2
    9432  // Seed_1
  )

  #declare r1=seed(0);
  #declare r2=seed(1);
  #declare pozycja = <0,0,0>;
  #fopen poz "Poz_drzew.inc" read // the file with position vectors of the
trees
  #declare i=0;
  #while (i<65 & defined(poz))
    #read (poz,pozycja)
    object {drzewo
      scale (1+(0.5-rand(r1))*.2)*40
      rotate y*rand(r2)*360
      translate <pozycja.x,-10,-pozycja.y>
    }
    #declare i=i+1;
  #end //while


Post a reply to this message


Attachments:
Download 'diff.jpg' (107 KB)

Preview of image 'diff.jpg'
diff.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.